/*-----------------------------------------
    project : M2R PLAN A MOBILE VERSION
    author : Jason
    date : 2017-8-29
-----------------------------------------*/




/*-----------------------------------------
    Smart Phone
-----------------------------------------*/
@media all and (max-device-width: 768px){



    /*-----------------------------------------
        components
    -----------------------------------------*/



    /*
        box
    */
    .box-main{
        width: 100%;
        margin: 0;
    }
    .box-main-xs{
        width: 100%;
        margin: 0;
    }
    .box-white{
        background: #FFF;
    }


    /*
        header
    */
    .header{ background: none; box-shadow: none; height: auto; }
    .header .box-main{ height: auto; }

    /*
        logo
    */
    .logo{  float: none; position: absolute; top: 11px; left: 50%; margin-left: -96px; margin-top: 0; background-position: center center; background-size: 100% auto; width: 193px; height: 30px;  }

    /*
        logo-footer
    */
    .logo-footer{ display: none; }

    /*
        menu
    */
    .menu{ display: none; }

    /*
        responsive menu
    */
    .slicknav_menu { display:block; background: #FFF; border-bottom: 1px solid #e6e6e6; }
    .slicknav_menu .slicknav_icon-bar{ background: #1187ff; }
    .slicknav_btn{ background:none; border:1px solid #1187ff; }
    .slicknav_btn.slicknav_open{ background: #1187ff; }
    .slicknav_btn.slicknav_open .slicknav_icon-bar{ background: #FFF; }
    .slicknav_nav{ color:#404040; }
    .slicknav_nav a{ color: #1187ff; }
    .slicknav_nav a:hover{ background: #1188ff; color: #FFF; }
    .slicknav_nav .slicknav_row:hover{ background: #1188ff; }
    .slicknav_nav .slicknav_row:hover>a{ color: #FFF; }
    .slicknav_nav .slicknav_arrow{ float: right; }

    /*
        search
    */
    .search-trigger{
        position: absolute;
        left: 0;
        top: 0;
        width: 52px;
        height: 51px;
        line-height: 51px;
        font-size: 20px;
    }

    /*
        search-top
    */
    .search-top{
        position: relative;
        width: 100%;
        height: 44px;
        left: auto;
        top: auto;
        box-shadow: 3px 3px 3px rgba(0,0,0,0.125);
    }
    .search-top .con{
        height: 44px;
        margin-right: 44px;
        padding-left: 44px;
    }
    .search-top .con:after{
        line-height: 44px;
        width: 44px;
        text-align: center;
        font-size: 20px;
    }
    .search-top .txt{
        height: 44px;
        font-size: 16px;
    }
    .search-top .search-top-close{
        line-height: 44px;
        font-size: 20px;
        width: 44px;
        text-align: center;
    }


    /*
        tabs-blue
    */
    .tabs-blue{
        overflow: hidden;
        height: 44px;
    }
    .tabs-blue a{
        line-height: 44px;
        font-size: 18px;
    }

    /*
        contact-form
    */
    .contact-form .box-main{
        padding: 0 1.5rem;
    }
    .contact-form h2{
        font-size: 36px;
        color: #FFF;
        margin: 0 0 30px 0;
    }
    .contact-form .con{
        margin-right: 162px;
    }
    .contact-form .btn-refresh{
        right: 0;
    }
    .contact-form .btn-area{
        text-align: center;
    }
    .contact-form .btn{
        display: block;
        width: 100%;
    }
    .contact-form .verify{
        width: 162px;
    }

    /*
        footer
    */
    .footer .main{
        padding: 15px 0;
    }
    .footer-share{
        float: none;
        text-align: center;
    }
    .footer-share span{
        font-size: 14px;
    }
    .footer-share a{
        font-size: 20px;
        margin-left: 15px;
    }
    .footer-link{
        float: none;
        text-align: center;
    }
    .footer-link li{
        float: none;
        display: inline-block;
        margin: 0 5px;
    }

    /*
        page-banner
    */
    .page-banner{
        height: 100px;
    }
    .page-banner h1{
        line-height: 100px;
        font-size: 36px;
    }

    /*
        page-nav
    */
    .page-nav{
        padding: 0 1rem;
        height: auto;
        overflow: hidden;
    }

    /*
        no-record
    */
    .no-record{
        padding: 50px 0;
    }
    .no-record h3{
        font-size: 36px;
    }
    .no-record p{
        font-size: 18px;
    }
    .no-record img{
        max-width: 160px;
    }




    /*-----------------------------------------
            list
    -----------------------------------------*/


    /*
        product : filter title
    */
    .product-filter-title h3{
        float: none;
    }
    .product-filter-title .search-product{
        float: none;
        margin-top: 5px;
    }





    /*-----------------------------------------
        detail
    -----------------------------------------*/
    /*
        news
    */
    .news-detail-main{
        float: none;
        width: 100%;
    }
    .news-detail-sidebar{
        float: none;
        width: 100%;
    }

    /*
        product
    */
    .product-detail-title{
        font-size: 24px;
    }
    .product-detail-gallery{
        float: none;
        width: 100%;
    }
    .product-detail-info{
        float: none;
        width: 100%;
        margin-top: 15px;
    }
    .product-detail-sub-title h3{
        font-size: 24px;
    }
    .product-detail-gallery #bx-pager{
        height: auto;
        margin: 0;
    }
    .product-detail-gallery #bx-pager a{
        float: left;
        margin-right: 10px;
        margin-top: 10px;
        width: 72px;
        height: 40px;
        display: block;
        border: 1px solid #f2f2f2;
    }
    .product-detail-gallery #bx-pager a.active{
        border-color: #1188ff;
    }
    .product-detail-gallery #bx-pager img{
        width: 70px;
        height: 38px;
    }




    /*-----------------------------------------
        single
    -----------------------------------------*/

    /*
        home : slider
    */
    .home-slider li a{
        height: 200px;
        background-size: cover;
    }

    /*
        home : category
    */
    .home-category .item{
        margin-bottom: 1rem;
    }
    .home-category h5{
        font-size: 42px;
    }
    .home-category a{
        height: auto;
        padding-bottom: 30px;
    }

    /*
        home : news
    */
    .home-news-box .top-news{
        float: none;
        width: 100%;
        margin-bottom: 1rem;
    }
    .home-news-box ul{
        margin-left: 0;
        margin-right: 0;
    }

    /*
        home : flink
    */
    .home-flink{
        padding: 0 1.5rem;
    }
    .home-flink h2{
        font-size: 36px;
    }
    .home-flink img{
        max-width: 100%;
        height: auto;
    }

    /*
        about : main
    */
    .about-main{
        float: none;
        width: 100%;
    }
    .about-main .con p{
        text-align: justify;
    }

    /*
        about : history
    */
    .about-history{
        float: none;
        width: 100%;
    }

    /*
        404 : all
    */
    .page-404-top{
        padding: 15px 0;
    }
    .page-404-top .logo{
        position: relative;
        top: auto;
        left: auto;
        margin: 0 auto;
    }
    .page-404{
        height: auto;
        overflow: hidden;
        padding-bottom: 30px;
    }
    .page-404 figure{
        width: 300px;
        height: auto;
        position: relative;
        bottom: auto;
        right: auto;
        margin: 15px auto;
    }
    .page-404 figure img{
        max-width: 100%;
    }
    .page-404 .main{
        padding: 1rem;
    }
    .page-404 h2{
        font-size: 120px;
        text-align: center;
    }
    .page-404 p{
        font-size: 18px;
        text-align: center;
    }
    .page-404 .btn-area{
        margin-top: 15px;
        text-align: center;
    }
    .page-404 .btn{
        width: 260px;
        height: 66px;
        background: #1188ff;
        border-radius: 0;
        line-height: 66px;
        text-align: center;
        color: #FFF;
        font-size: 24px;
        padding: 0;
        position: relative;
    }
    .page-404 .btn:after{
        position: absolute;
        content: '';
        background: url('../images/page-404-rocket.png') no-repeat;
        width: 80px;
        height: 76px;
        bottom: 0;
        left: -30px;
    }

    /*
        contact : main
    */
    .contact-main{
        float: none;
        width: 100%;
    }
    .contact-main span{
        font-size: 18px;
    }
    .contact-main p{
        line-height: 18px;
        height: auto;
        margin-top: 5px;
    }

    /*
        contact : map
    */
    .contact-map {
        float: none;
        width: 100%;
        height: auto;
    }
    .contact-map img , .contact-map iframe{
        max-width: 100%;
    }

}